home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Reference & Presen…tion Library 2 (Reseller)
/
Apple R&P Lib Reseller v2.0.iso
/
3-Demos
/
Tutorials
/
Guided Tour Mac II
/
B2
/
B2.rsrc
/
TEXT_1152.txt
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Windows-1252 (detected)
Wrap
Text File
|
1988-03-04
|
325 b
|
12 lines
>#move the icon
SET SPRITEID[5] = 0
IF CLICKON = 2 THEN skip 4
IF CLICKON = 3 THEN skip 3
IF CLICKON = 4 THEN skip 2
exit
set &Y = (mouseh+((spriteh[clickon])-&H))#registration
set &Z = (mousev+((spritev[clickon])-&V))#registration
SET SPRITEH[CLICKON] = CONSTRAINH(7,&Y)
SET SPRITEV[CLICKON] = CONSTRAINV(7,&Z)
exit
Àá